Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve update_owners.py username detection and error message. #35812

Merged
merged 1 commit into from
Oct 28, 2016

Conversation

rmmh
Copy link
Contributor

@rmmh rmmh commented Oct 28, 2016

Fixes the root cause of #35808.


This change is Reviewable

@rmmh rmmh added retest-not-required release-note-none Denotes a PR that doesn't merit a release note. labels Oct 28, 2016
@MrHohn
Copy link
Member

MrHohn commented Oct 28, 2016

Thanks, tried and worked for me.

@k8s-github-robot k8s-github-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 28, 2016
@MrHohn
Copy link
Member

MrHohn commented Oct 28, 2016

/lgtm

@k8s-github-robot k8s-github-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 28, 2016
return repos.pop()
raise ValueError('unable to guess GitHub user from `git remote -v` output, use --user instead')
origin_url = subprocess.check_output(['git', 'config', 'remote.origin.url'])
m = re.search(r'github.com[:/](.*)/\w+\.git', origin_url)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the .git is required, so maybe make that optional?

@k8s-github-robot k8s-github-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 28, 2016
@rmmh rmmh added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 28, 2016
@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit bbe36f9 into kubernetes:master Oct 28, 2016
@rmmh rmmh deleted the owner-better branch November 2, 2016 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants